module message.RedPacket;

struct Mine
{
  ulong amount;
  string user_id;
}

struct Detailed {
  string id;
  string user_id;
  long amount;
  ulong created;
}

struct RedPacket {
  string red_packet_id;
  string user_id;
  ulong amount;
  uint count;
  uint type;
  string wishes;
  uint target_type;
  string target_id;
  ulong created;
  uint receive_count;
  ulong opened_duration;
  string message_id;
  Mine mine;
  Detailed[] detailed;
}

